<template>
	<el-config-provider :locale="zhCn" :size="size">
		<router-view></router-view>
	</el-config-provider>
</template>
<script setup lang="ts">
import { useSettingStore } from "@/store/modules/setting";
const settingStore = useSettingStore();
const size = computed(() => settingStore.size as any);

import zhCn from "element-plus/es/locale/lang/zh-cn";
</script>
